package cc.linker.steplink.crm.merchanth5.model;

public class ConstantUtils {

	public static final int NOT_FOUND = -1;//无定义类型，找不到
	public static final int ERROR = 0;//失败
	public static final int SUCCESS = 1;//成功
	public static final int EFFECT = 2;//成功
	
	public static final int USER_REGISTER_UPDATE = 1;//用户注册或修改用户
	public static final int FORGET_PASSWORD = 2;//忘记密码
	
	
	public static String getProviderName(String provider){
		String retString = "来源不明";
		switch (provider) {
		case "3":
			retString = "阅耳听书资源";
			break;
		case "5":
			retString = "学前教育资源";
			break;
		case "6":
			retString = "少儿精选资源";
			break;
		case "7":
			retString = "母婴专区资源";
			break;
		case "8":
			retString = "名著经典资源";
			break;
		case "12":
			retString = "儿童读物资源";
			break;
		case "13":
			retString = "戏曲中国风资源";
			break;
		case "14":
			retString = "网趣宝贝资源";
			break;
		case "15":
			retString = "央广之声资源";
			break;
		case "109":
			retString = "无限精彩资源";
			break;
		case "230":
			retString = "蜻蜓资源";
			break;
		case "10":
			retString="博思特资源";
			break;
		case "240":
			retString="有声资讯资源";
			break;
		case "260":
			retString="天天动听资源";
			break;
		case "270":
			retString="酷客音乐资源";
			break;
		case "280":
			retString="听头条资源";
			break;
		default:
			break;
		}
		return retString;
	}
}
